libxl: add support for image files for NetBSD
authorRoger Pau Monne <roger.pau@entel.upc.edu>
Fri, 30 Sep 2011 12:38:55 +0000 (14:38 +0200)
committerRoger Pau Monne <roger.pau@entel.upc.edu>
Fri, 30 Sep 2011 12:38:55 +0000 (14:38 +0200)
commit97ee1f5d722e7504bf878b8200047db3f127ddde
treeaae49832584ef38a2f3b56db3e71e2253964dc7c
parent0772c12142d609624a958db9b2012d3617dd7c08
libxl: add support for image files for NetBSD

Created a helper function to detect if the OS is capable of using
image files as phy backends. Create two OS specific files, and
changed the Makefile to choose the correct one at compile time.

Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu>
Acked-by: Ian Jackson <ian.jackson.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/Makefile
tools/libxl/libxl_device.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_linux.c [new file with mode: 0644]
tools/libxl/libxl_netbsd.c [new file with mode: 0644]